package wiBase.baseUtil;

import wiBase.WiObject;

public class Velocity extends WiObject{
	private Position _posSource;
	private Position _posDestination;
	private double _speed;
	
	public Velocity(Position src,Position dst,double speed) {
		this._speed=speed;
		this._posDestination=dst;
		this._posSource=src;
	}

	public double getDuration() {
		return _speed;
	}

	public void setSpeed(double _duration) {
		this._speed = _duration;
	}

	public Position getPosSource() {
		return _posSource;
	}

	public Position getPosDestination() {
		return _posDestination;
	}
	
}
